<section id="content" class="container_12 clearfix" data-sort=true>
    <h1 class="grid_12">Registro de Nuevo Cliente</h1>              
    <div class="grid_12">
        <!--        <form class="box wizard manual validate" id="wiz">-->
        <?php echo $this->Form->create('Cliente', array('class' => 'box wizard manual validate', 'id' => 'wiz')); ?>
        <div class="header">
            <h2><img src="<?php echo $this->webroot; ?>img/icons/packs/fugue/16x16/ui-tab--arrow.png" class="icon">Formulario</h2>
        </div>

        <div class="content">                            
            <fieldset id="wiz_database">
                <div class="row">
                    <label for="w1_server">
                        <strong>Nombre</strong>                                        
                    </label>
                    <div>
                        <?php echo $this->Form->text('nombre', array('class'=>'required')); ?>
<!--                        <input type="text" class="required" name=w1_server id=w1_server />-->
                    </div>
                </div>
                <div class="row">
                    <label for="w1_name">
                        <strong>Celular</strong>
                    </label>
                    <div>
                        <?php echo $this->Form->text('celular', array('class'=>'required')); ?>
<!--                        <input type="text" class="required" value="db_mango" name=w1_name id=w1_name />-->
                    </div>
                </div>
                <div class="row">
                    <label for="w1_username">
                        <strong>Telefono</strong>
                    </label>
                    <div>
                        <?php echo $this->Form->text('telefono', array('class'=>'required')); ?>
<!--                        <input type="text" class="required" value="mangosql1" name=w1_username id=w1_username />-->
                    </div>
                </div>
                <div class="row">
                    <label for="w1_password">
                        <strong>Nit</strong>
                    </label>
                    <div>
                        <?php echo $this->Form->text('nit', array('class'=>'required')); ?>
<!--                        <input type="password" class="required" value="ThisSecretPassIsCool!" name=w1_password id=w1_password />-->
                    </div>
                </div>
            </fieldset>                                                       
        </div><!-- End of .content -->
        <div class="actions">
            <div class="left">
                <input type="reset" value="Limpiar">
            </div>
            <div class="right">
                <input type="submit" value="Guardar Cliente" name="submit">
            </div>
        </div>           
        </form><!-- End of .box -->
    </div><!-- End of .grid_4 -->

    <script>
        $$.ready(function() {
            $('#wiz').wizard({
                onSubmit: function() {
                    alert('Your Data:\n' + $('form#wiz').serialize());
                    return false;
                }
            });
        });
    </script>
</section>



<!-- Columns -->
<div id="cols" class="box"> 

    <!-- Aside (Left Column) -->
    <div id="aside" class="box">
        <div class="padding box"> 

            <!-- Logo (Max. width = 200px) -->
            <p id="logo"><a href="#"><?php echo $this->Html->image('logo.gif', array('alt' => 'logo')) ?></a></p>

            <!-- Search -->
            <form action="#" method="get" id="search">
                <fieldset>
                    <legend>Busqueda</legend>
                    <p>
                        <input type="text" size="17" name="" class="input-text" />
                        &nbsp;
                        <input type="submit" value="BUSCAR" class="input-submit-02" />
                </fieldset>
            </form>
        </div>
        <!-- /padding -->

        <ul class="box">
            <li><a href="#"><?php echo $this->Html->link('Lista de Clientes', '/clientes/index'); ?></a></li>
            <li id="submenu-active"><a href="#">Registrar Nuevo Cliente</a></li>
        </ul>

    </div>
    <!-- /aside -->

    <hr class="noscreen" />

    <!-- Content (Right Column) -->
    <div id="content" class="box">
        <h1>Insertar nuevo Cliente</h1>
        <!-- Form -->


        <fieldset>
            <legend>Insertar nuevo Cliente</legend>
            <?php echo $this->Form->create('Cliente'); ?>
            <table class="nostyle">

                <tr>
                    <td style="width:120px;">Nombre:</td>
                    <td>
                        <?php echo $this->Form->text('nombre', array('id' => 'nomb', 'size' => '50', 'class' => "validate[required]  input-text")); ?>
                    </td>
                </tr>
                <tr>
                    <td>Telefono:</td>
                    <td>
                        <?php echo $this->Form->text('telefono', array('id' => 'usu', 'size' => '50', 'class' => "input-text")); ?>
                    </td>
                <tr>
                    <td>Celular:</td>
                    <td><?php echo $this->Form->text('celular', array('id' => 'dire', 'size' => '50', 'class' => "input-text")); ?></td>
                </tr>
                <tr>
                    <td>Nit:</td>
                    <td><?php echo $this->Form->text('nit', array('id' => 'dire', 'size' => '50', 'class' => "input-text")); ?></td>
                </tr>

                <tr>

                    <td colspan="2" class="t-right">
                        <?php $option = array('Value' => 'registrar', 'class' => "input-submit"); ?>
                        <?php echo $this->Form->end($option); ?>
                    </td>
                </tr>
            </table>
        </fieldset>


        <!-- /content --> 

    </div>
    <!-- /cols -->
</div>